    <div id="breadcrumbs"><?php echo $this->Html->link('Home', array('controller' => 'contents', 'action' => 'view', 'home')); ?> > <?php echo $this->Html->link('List User', array('controller'=>'Users', 'action'=>'index'));?> > Edit User
</div>

<div class="users form">
<?php echo $this->Form->create('User',
  array(
   'inputDefaults' => array(
    'required' => false,
   ),
  )); ?>
	<fieldset>
		<h2><?php echo __('Edit User'); ?></h2>
	<?php
		echo $this->Form->input('user_id');
                echo $this->Form->input('staff_name');
                   echo "<br>";
		echo $this->Form->input('username');
                   echo "<br>";
		echo $this->Form->input('pwd', array('type'=>'password', 'value'=>'', 'autocomplete'=>'off', 'label' => 'Password'));
                   echo "<br>";
		echo $this->Form->input('pwd_repeat', array('type' => 'password', 'value' => '', 'autocomplete' => 'off', 'label' => 'Password Confirm'));
        echo "<br>";
		echo $this->Form->input('role_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('User.user_id')), null, __('Are you sure you want to delete %s?', $this->Form->value('User.username'))); ?></li>
		<li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
	</ul>
</div>
